package com.bussiness.system.constant;

/**
 * @Auther: xlr
 * @Date: 2018/8/13 16:05
 * @Description:
 */
public enum ExceptionConstant {

    UPLOADEXCEPTION(0002,"文件上传异常"),
    TIME_OUT(0003,"请求服务超时");

    private Integer errorCode;
    private String errorMsg;

    ExceptionConstant(Integer erroCode, String errorMsg){
        this.errorCode = erroCode;
        this.errorMsg = errorMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
